{% extends "base.html" %}
{% block title %}登陆{% endblock %}
{% block body_content %}
    <div class="container">
      <form class="form-horizontal center-block" method="post">
        {{ form.hidden_tag() }}
        <h2 class="form-signin-heading">Please sign in</h2>
          <div class="form-group center-block">
            <label class="col-sm-2 control-label">Email</label>
            <div class="col-sm-5">
              {{ form.email(class="form-control", placeholder="Email") }}
            </div>
          </div>
          <div class="form-group">
            <label class="col-sm-2 control-label">Password</label>
            <div class="col-sm-5">
              {{ form.password(class="form-control", placeholder="Password") }}
            </div>
          </div>
            {{ form.submit(class="btn btn-primary") }}
            <button class="btn btn-primary" type="submit">返回</button>
        </div>
      </form>
    </div> <!-- /container -->
{% endblock %}
